import 'package:flutter/material.dart';

class MinePage extends StatefulWidget {
  @override
  MinePageState createState() => MinePageState();
}

class MinePageState extends State<MinePage> {
  @override
  Widget build(BuildContext context) {
    return new ListView(
      children: <Widget>[
        new Container(
          color: Colors.grey[200],
          padding: const EdgeInsets.only(top: 20.0),
          child: new Container(
            height: 80.0,
            color: Colors.white,
            child: new ListTile(
              onTap: () {},
              leading: new Image.asset(
                "images/xk.jpg",
                height: 60.0,
              ),
              title: new Text("码瘾少年"),
              subtitle: new Text("微信号: codeboy"),
              trailing: new Icon(Icons.fullscreen),
            ),
          ),
        ),
        new Container(
          padding: const EdgeInsets.only(top: 20.0),
          child: new Container(
            child: new ListTile(
              onTap: () {},
              leading: new Icon(Icons.call_to_action, color: Colors.blue),
              title: new Text("钱包"),
            ),
            color: Colors.white,
            height: 50.0,
          ),
          color: Colors.grey[200],
        ),
        new Container(
          padding: const EdgeInsets.only(top: 20.0),
          child: new Container(
            child: new ListTile(
              onTap: () {},
              leading: new Icon(Icons.dashboard, color: Colors.orange),
              title: new Text("收藏"),
            ),
            color: Colors.white,
            height: 50.0,
          ),
          color: Colors.grey[200],
        ),
        new Divider(
          height: 1.0,
        ),
        new Container(
          child: new ListTile(
            onTap: () {},
            leading: new Icon(Icons.photo, color: Colors.blue),
            title: new Text("相册"),
          ),
          color: Colors.white,
          height: 50.0,
        ),
        new Divider(
          height: 1.0,
        ),
        new Container(
          child: new ListTile(
            onTap: () {},
            leading: new Icon(Icons.credit_card, color: Colors.green),
            title: new Text("卡包"),
          ),
          color: Colors.white,
          height: 50.0,
        ),
        new Divider(
          height: 1.0,
        ),
        new Container(
          child: new ListTile(
            onTap: () {},
            leading: new Icon(Icons.tag_faces, color: Colors.yellow),
            title: new Text("表情"),
          ),
          color: Colors.white,
          height: 50.0,
        ),
        new Divider(
          height: 1.0,
        ),
        new Container(
          padding: const EdgeInsets.only(top: 20.0),
          child: new Container(
            child: new ListTile(
              onTap: () {},
              leading: new Icon(Icons.settings),
              title: new Text("设置"),
            ),
            color: Colors.white,
            height: 50.0,
          ),
          color: Colors.grey[200],
        ),
        new Divider(
          height: 1.0,
        ),
      ],
    );
  }
}
